Electronic device for transmitting relay message to external vehicle and method thereof

ABSTRACT

According to various embodiments, an electronic device may include at least one sensor, at least one communication circuit, and a processor electrically connected to the at least one sensor and/or the at least one communication circuit, wherein the processor is configured to determine a relay message generation condition associated with a vehicle based at least on data acquired from the at least one sensor and/or the at least one communication circuit, to generate a relay message based at least on the data acquired from the at least one sensor and/or the at least one communication circuit when the relay message generation condition is satisfied based on the determination result, and to transmit the generated relay message to an external vehicle through the at least one communication circuit.

CROSS-REFERENCE TO RELATED APPLICATION

This application is based on and claims priority under 35 U.S.C. § 119to Korean Patent Application Serial No. 10-2017-0120588, which was filedin the Korean Intellectual Property Office on Sep. 19, 2017, the entiredisclosure of which is incorporated by reference herein in its entirety.

TECHNICAL FIELD

The present disclosure relates to a method of transmitting a messageassociated with a vehicle from an electronic device to an externalvehicle and an electronic device thereof.

BACKGROUND

Recently, techniques have been developed in which a moving means, suchas a vehicle, communicates with other entities. The vehicle may includea communication circuit for communication and may transmit variousinformation such as the speed of the vehicle, the steering directionthereof, whether the brake thereof is operated, etc., to other entitiesthrough the communication circuit. For example, the vehicle may transmitinformation to other vehicles and may receive information from othervehicles. Communication between the vehicles may be referred to asvehicle to vehicle (V2V) communication.

The vehicle may transmit information to a road side unit (RSU) or mayreceive information from the RSU. Communication between the vehicle andthe RSU may be referred to as vehicle to infrastructure (V2I)communication. The vehicle may transmit information to electronicdevices carried by pedestrians and may receive communication signalsincluding safety related information from the electronic devices carriedby the pedestrians. Communication between the vehicle and the electronicdevice carried by the pedestrians may be referred to as vehicle topedestrian (V2P) communication.

Various methods for the communication between the vehicles are beingdiscussed, for example, a dedicated short range communication (DSRC)technique based on 802.11p has been proposed. In the case of theabove-described technique, a coverage capable of transmitting a basicsafety message (BSM) transmitted between the vehicles may be limitedwithin a certain distance (for example, 300 m to 1 km). For example,when it is necessary to transmit a vehicle to X (V2X) message (e.g.,BSM) such as V2V, V2I, V2P, etc., to a vehicle that is distantly remote,it is difficult for the V2X message to be transmitted to the vehiclebeyond the transmission coverage of the BSM.

SUMMARY

Various embodiments may provide a method of generating a relayablemessage and transmitting the generated relayable message to an externalvehicle when information collected in a vehicle satisfies a designatedcondition, thereby efficiently transmitting a message related to avehicle to a remote vehicle, and an electronic method thereof.

In order to address the aforementioned problems and/or other problems,an electronic device according to an embodiment may include at least onesensor; at least one communication circuit; and a electrically connectedto the at least one sensor or the at least one communication circuit,wherein the processor is configured to determine a relay messagegeneration condition associated with a vehicle based at least on dataacquired from the at least one sensor and/or the at least onecommunication circuit, to generate a relay message based at least on thedata acquired from the at least one sensor and/or the at least onecommunication circuit when the relay message generation condition issatisfied based on the determination result, and to transmit thegenerated relay message to an external vehicle through the at least onecommunication circuit.

An electronic device according to any one of various embodiments mayinclude at least one communication circuit; and a processor electricallyconnected to the at least one communication circuit, wherein theprocessor is configured to determine whether a basic safety message(BSM) is a relay message from information included in the BSM receivedthrough the at least one communication circuit, to determine whether arelay condition included in the BSM is satisfied when the BSM is therelay message, to generate the relay message based on the received BSMwhen the relay condition is satisfied, and to transmit the generatedrelay message to an external vehicle through the at least onecommunication circuit.

In an operating method of an electronic device according to any one ofvarious embodiments, a method of transmitting a relay message from anelectronic device to an external vehicle may include determining a relaymessage generation condition associated with a vehicle based at least ondata acquired from at least one sensor and/or at least one communicationcircuit; generating a relay message based at least on the data acquiredfrom the at least one sensor and/or the at least one communicationcircuit when the relay message generation condition is satisfied basedon the determination result; and transmitting the generated relaymessage to the external vehicle through the at least one communicationcircuit.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features, and advantages of certainembodiments of the present disclosure will be more apparent from thefollowing detailed description, taken in conjunction with theaccompanying drawings, in which:

FIG. 1 is a block diagram illustrating an electronic device in a networkenvironment according to an example embodiment;

FIG. 2 is a diagram illustrating an electronic device, a vehicle, and aroad side unit (RSU) according to various embodiments;

FIG. 3 is a block diagram illustrating an electronic device according tovarious embodiments;

FIG. 4 is a block diagram illustrating an electronic device according tovarious embodiments;

FIG. 5 is a diagram illustrating a transmission concept of a relaymessage according to various embodiments;

FIG. 6 is a diagram illustrating a data format of a relay messageaccording to various embodiments;

FIG. 7 is a diagram illustrating a data format of a relay message usinga basic safety message (BSM) according to various embodiments;

FIG. 8 is a flowchart illustrating a procedure for transmitting a relaymessage to an external vehicle according to various embodiments;

FIG. 9 is a flowchart illustrating a procedure for retransmitting areceived relay message according to various embodiments;

FIG. 10 is a diagram illustrating an example of a situation where arelay message is transmitted to an external vehicle according to variousembodiments;

FIG. 11 is a diagram illustrating an example of a situation where arelay message is transmitted to an external vehicle according to variousembodiments;

FIG. 12 is a diagram illustrating an example of a situation where arelay message is transmitted to an external vehicle according to variousembodiments;

FIG. 13 is a diagram illustrating an example of a situation where arelay message is transmitted to an external vehicle according to variousembodiments;

FIG. 14 is a diagram illustrating an example of a situation where arelay message is transmitted to an external vehicle according to variousembodiments;

FIG. 15 is a diagram illustrating an example of a situation where arelay message is transmitted to an external vehicle according to variousembodiments; and

FIG. 16 is a block diagram illustrating a program module of anelectronic device according to various embodiments.

DETAILED DESCRIPTION

Hereinafter, various example embodiments will be described withreference to the accompanying drawings. The embodiments and the termsused therein are not intended to limit the technology disclosed hereinto specific forms, and should be understood to include variousmodifications, equivalents, and/or alternatives to the correspondingembodiments. In describing the drawings, similar reference numerals maybe used to designate similar constituent elements. A singular expressionmay include a plural expression unless they are definitely different ina context. As used herein, singular forms may include plural forms aswell unless the context clearly indicates otherwise. The expression “afirst”, “a second”, “the first”, or “the second” used in variousembodiments may be used to refer to various components regardless of theorder and/or the importance but does not limit the correspondingcomponents. When an element (e.g., first element) is referred to asbeing “(functionally or communicatively) connected,” or “directlycoupled” to another element (second element), the element may beconnected directly to the another element or connected to the anotherelement through yet another element (e.g., third element). Theexpression “plural” may mean at least two.

The expression “configured to” as used in various embodiments may beinterchangeably used with, for example, “suitable for”, “having thecapacity to”, “designed to”, “adapted to”, “made to”, or “capable of” interms of hardware, software and/or firmware, or any combinationsthereof, according to circumstances. In some situations, the expression“device configured to” may refer to a situation in which the device,together with other devices or components, “is able to”. For example,the phrase “processor adapted (or configured) to perform A, B, and C”may refer, for example, and without limitation, to a dedicated processor(e.g., embedded processor) for performing the corresponding operations,a generic-purpose processor (e.g., Central Processing Unit (CPU), anApplication Processor (AP), or the like) that can perform thecorresponding operations by executing one or more software programsstored in a memory device.

An electronic device according to various embodiments may include, forexample, and without limitation, at least one of, for example, a smartphone, a tablet Personal Computer (PC), a mobile phone, a video phone,an electronic book reader (e-book reader), a desktop PC, a laptop PC, anetbook computer, a workstation, a server, a Personal Digital Assistant(PDA), a Portable Multimedia Player (PMP), a MPEG-1 audio layer-3 (MP3)player, a mobile medical device, a camera, and/or a wearable device, orthe like. The HMD device may include at least one of an accessory typedevice (e.g., a watch, a ring, a bracelet, an ankle bracelet, anecklace, a pair of glasses, a contact lenses, a head mounted device(HMD), or a head mounted display (HMD)), a fabric or clothing integrateddevice (e.g., electronic clothing), a body attachment device (e.g., askin pad or tattoo), and/or a bio-implantable circuit, or the like, butis not limited thereto. In some embodiments, the electronic device mayinclude, for example, and without limitation, at least one of, forexample, a television, a Digital Video Disk (DVD) player, an audio, arefrigerator, an air conditioner, a vacuum cleaner, an oven, a microwaveoven, a washing machine, an air cleaner, a set-top box, a homeautomation control panel, a security control panel, a TV box (e.g.,Samsung HomeSync™, Apple TV™, or Google TV™), a game console (e.g.,Xbox™ and PlayStation™), an electronic dictionary, an electronic key, acamcorder, and/or an electronic photo frame, or the like.

In other embodiments, the electronic device may include, for example,and without limitation, at least one of various medical devices (e.g.,various portable medical measuring devices (a blood glucose monitoringdevice, a heart rate monitoring device, a blood pressure measuringdevice, a body temperature measuring device, etc.), a Magnetic ResonanceAngiography (MRA), a Magnetic Resonance Imaging (MRI), a ComputedTomography (CT) machine, and an ultrasonic machine), a navigationdevice, a Global Positioning System (GPS) receiver, an Event DataRecorder (EDR), a Flight Data Recorder (FDR), a Vehicle InfotainmentDevices, an electronic devices for a ship (e.g., a navigation device fora ship, and a gyro-compass), avionics, security devices, an automotivehead unit, a robot for home or industry, an Automatic Teller's Machine(ATM) in banks, Point Of Sales (POS) in a shop, and/or internet deviceof things (e.g., a light bulb, various sensors, electric or gas meter, asprinkler device, a fire alarm, a thermostat, a streetlamp, a toaster, asporting goods, a hot water tank, a heater, a boiler, etc.), or thelike.

According to some embodiments, an electronic device may include, forexample, and without limitation, at least one of a part of furniture ora building/structure, an electronic board, an electronic signaturereceiving device, a projector, and/or various types of measuringinstruments (e.g., a water meter, an electric meter, a gas meter, aradio wave meter, and the like), or the like. In various embodiments,the electronic device may be flexible, or may be a combination of one ormore of the aforementioned various devices. The electronic deviceaccording to an embodiment is not limited to the above describeddevices. In the present disclosure, the term “user” may indicate aperson using an electronic device or a device (e.g., an artificialintelligence electronic device) using an electronic device.

Various embodiments are directed to a method of transmitting avehicle-related message (e.g., a Basic Safety Message (BSM)) transmittedfrom a vehicle to an external vehicle, and disclose a method capable oftransmitting the vehicle-related message to a remote vehicle to overcomethe restriction of the transmission coverage for the vehicle-relatedmessage and an electronic device thereof.

In the following disclosure, a message transmitted from the vehicle tothe external vehicle may be referred to as a ‘relay message’ forconvenience of explanation. However, the messages transmitted in theembodiments are not limited to the above terms, and may be used invarious terms according to their use or related standards. According tovarious embodiments, the relay message may be configured using a messagedefined in the wireless access in vehicular environment (WAVE) standardof IEEE 802.11p, or may be configured such that the message defined inthe standard includes relay-related information. For example, the relaymessage may be configured using the BSM, or may be configured such thata specific region of the BSM includes relay-related information. Inaddition, according to various embodiments, the relay message may beconfigured such that a message comprising various forms in addition tothe message includes the relay-related information.

In the various embodiments described below, a “relay messagetransmission condition” may refer, for example, to a generationcondition of a relay message for generating a relay message according toa designated condition in the electronic device, and may be referred toas “relay message generation condition”. According to variousembodiments, when the electronic device satisfies the relay messagetransmission condition, the electronic device may generate and transmita relay message to an external vehicle, or relay-related information maybe included in a message (e.g., BSM) transmitted from the electronicdevice to the external vehicle and transmitted, and thereby the externalvehicle having received the transmitted message may retransmit thereceived message.

In various embodiments described below, the ‘relay-related information’may, for example, and without limitation, include information on atleast one ‘relay condition’. For example, the ‘relay condition’ mayinclude a condition for determining whether at least one externalvehicle having received the relay message retransmits the received relaymessage to another external vehicle. According to various embodiments,the ‘relay condition’ may refer, for example, to a condition forretransmitting the received relay message to another external vehicle,and may be referred to as a ‘relay transmission condition’.

FIG. 1 is a block diagram illustrating an electronic device in a networkenvironment according to an example embodiment. Referring to FIG. 1, anelectronic device 101 may communicate with an electronic device 102 viaa first network 198 (e.g., short-range wireless communication) in anetwork environment 100, or may communicate with an electronic device104 or a server 108 via a second network 199 (e.g., long-range wirelesscommunication). According to an embodiment, the electronic device 101may communicate with the electronic device 104 via the server 108.According to an embodiment, the electronic device 101 may include aprocessor 120, a memory 130, an input device 150, an audio output device155, a display device 160, an audio module 170, a sensor module 176, aninterface 177, a haptic module 179, a camera module 180, a powermanagement module 188, a battery 189, a communication module 190, asubscriber identification module 196, and an antenna module 197. In someembodiments, in the electronic device 101, at least one of thesecomponents may be omitted or another component may be added. In someembodiments, as in the sensor module 176 (e.g., a fingerprint sensor, aniris sensor, or an illuminance sensor) embedded in the display device160 (e.g., a display), some components may be integrated andimplemented.

The processor 120 may drive, for example, software (e.g., a program 140)to control at least one other components (e.g., hardware or softwarecomponents) of the electronic device 101 connected to the processor 120,and to perform various data processing and computations. The processor120 may load and process commands or data received from the othercomponents (e.g., the sensor module 176 or the communication module 190)into a volatile memory 132, and may store the resulting data in anon-volatile memory 134. According to an embodiment, the processor 120may include a main processor 121 (e.g., central processing device orapplication processor) and an auxiliary processor 123 (e.g., graphicprocessing device, image signal processor, sensor hub processor, orcommunication processor) which is operated independently of the mainprocessor, and which additionally or alternatively uses lower power thanthat of the main processor 121 or is specialized in a designatedfunction. Here, the auxiliary processor 120 may be separately operatedfrom the main processor 121 or may be embedded therein.

In this case, the auxiliary processor 123 may control at least some offunctions or states related to at least one (e.g., the display device160, the sensor module 176, or the communication module 190) of thecomponents of the electronic device 101, in place of the main processor121, for example, while the main processor 121 is in an inactive (sleep)state or together with the main processor 121 while the main processor121 is in an active (application execution) state. According to anembodiment, the auxiliary processor 123 (e.g., image signaling processoror communication processor) may be implemented as some components offunctionally related other components (e.g., the camera module 180 orthe communication module 190). The memory 130 may store various piecesof data used by at least one component (e.g., the processor 120 or thesensor module 176) of the electronic device 101, for example, software(e.g., the program 140) and input data or output data for a commandrelated to the software. The memory 130 may include the volatile memory132 or the non-volatile memory 134.

The program 140 may be software stored in the memory 130 and mayinclude, for example, an operating system 142, middleware 144, or anapplication 146.

The input device 150 may be a device for receiving commands or data tobe used for the components (e.g., processor 120) of the electronicdevice 101 from the outside (e.g., a user) of the electronic device 101,and may include, for example, a microphone, a mouse, or a keyboard.

The audio output device 155 may be a device for outputting a soundsignal to the outside of the electronic device 101, and may include, forexample, a speaker used for general use such as multimedia reproductionor recording reproduction and a receiver used only for telephonereception. According to an embodiment, the receiver may be formedintegrally with or separately from the speaker.

The display device 160 may be a device for visually providinginformation to a user of the electronic device 101, and may include, forexample, a display, a hologram device, or a projector, and a controlcircuit for controlling the corresponding device. According to anembodiment, the display device 160 may include a touch circuitry or apressure sensor capable of measuring the intensity of the pressure withrespect to a touch.

The audio module 170 may bidirectionally convert sound and electricalsignals. According to an embodiment, the audio module 170 may acquiresound through the input device 150, or may output sound through theaudio output device 155 or an external electronic device (e.g., theelectronic device 102 (e.g., speaker or headphone)) which is connectedby wire or wirelessly connected to the electronic device 101.

The sensor module 176 may generate an electrical signal or data valuecorresponding to an internal operating state (e.g., power ortemperature) of the electronic device 101 or an external environmentalcondition. The sensor module 176 may include, for example, a gesturesensor, a gyro sensor, a barometric sensor, a magnetic sensor, anacceleration sensor, a grip sensor, a proximity sensor, a color sensor,an infrared (IR) sensor, a biosensor, a temperature sensor, a humiditysensor, or an illuminance sensor.

The interface 177 may support a designated protocol that can be wired orwirelessly connected to an external electronic device (e.g., theelectronic device 102). According to an embodiment, the interface 177may include a high definition multimedia interface (HDMI), a universalserial bus (USB) interface, an SD card interface, or an audio interface.

The connection terminal 178 may include a connector that can physicallyconnect the electronic device 101 and an external electronic device(e.g., the electronic device 102), such as an HDMI connector, a USBconnector, an SD card connector, or an audio connector (e.g., aheadphone connector).

The haptic module 179 may convert electrical signals into mechanicalstimuli (e.g., vibrations or movements) or electrical stimuli that canbe perceived by a user through tactile or kinesthetic sensations. Thehaptic module 179 may include, for example, a motor, a piezoelectricelement, or an electrical stimulation device.

The camera module 180 may capture a still image and a moving image.According to an embodiment, the camera module 180 may include one ormore lenses, an image sensor, an image signal processor, or a flash.

The power management module 188 may be a module for managing powersupplied to the electronic device 101, and may be configured as at leasta portion of, for example, a power management integrated circuit (PMIC).

The battery 189 may be a device for supplying power to at least onecomponent of the electronic device 101, and may include, for example, anon-rechargeable primary battery, a rechargeable secondary battery, or afuel cell.

The communication module 190 may support establishment of a wired orwireless communication channel between the electronic device 101 and anexternal electronic device (e.g., the electronic device 102, theelectronic device 104, or the server 108) and may support communicationexecution through the established communication channel. Thecommunication module 190 may include one or more communicationprocessors that are operated independently of the processor 120 (e.g.,application processor) and support wired communication or wirelesscommunication. According to an embodiment, the communication module 190may include a wireless communication module 192 (e.g., a cellularcommunication module, a short-range wireless communication module, or aglobal navigation satellite system (GNSS) communication module) or awired communication module 194 (e.g., a local area network (LAN))communication module, and may communicate with an external electronicdevice using the corresponding communication module among theabove-described communication modules, through a first network 198(e.g., a short-range communication network such as Bluetooth, Wi-Fi,direct or infrared data association (IrDA)) or a second network 199(e.g., a long-range communication network such as a cellular network,the internet, or a computer network (e.g., LAN or WAN)). The varioustypes of communication modules 190 described above may be implemented asa single chip or may be implemented as separate chips.

According to an embodiment, the wireless communication module 192 mayuse user information stored in the subscriber identification module 196to identify or authenticate the electronic device 101 within acommunication network.

The antenna module 197 may include one or more antennas for transmittingor receiving signals or power to or from the outside. According to anembodiment, the communication module 190 (e.g., the wirelesscommunication module 192) may transmit or receive signals to or from theoutside electronic device via an antenna suitable for the correspondingcommunication scheme.

Some of the above-described components may be connected to each othervia a communication scheme (e.g., bus, general purpose input/output(GPIO), serial peripheral interface (SPI), or mobile industry processorinterface (MIPI)) between peripheral devices, and may exchange signals(e.g., commands or data) with each other.

According to an embodiment, the commands or data may be transmitted orreceived between the electronic device 101 and the external electronicdevice 104 via the server 108 connected to the second network 199. Eachof the electronic devices 102 may be a device may be the same or adifferent kind of device as or from the electronic device 101. Accordingto an embodiment, all or some of operations executed in the electronicdevice 101 may be executed in another electronic device or a pluralityof other electronic devices. According to an embodiment, when theelectronic device 101 is required to perform any function or serviceautomatically or by a request, the electronic device 101 may request atleast partial function associated with the function or the service fromother devices additionally or in place of executing the function or theservice by itself. The external electronic device having received therequest may execute the requested function or additional function, andmay transmit the execution result to the electronic device 101. Theelectronic device 101 may process the received result as is oradditionally, and may provide the requested function or service. Forthis, for example, a cloud computing technology, a distributed computingtechnology, or a client-server computing technology may be used.

FIG. 2 is a diagram illustrating an electronic device, a vehicle, and aroad side unit (RSU) according to various embodiments

As illustrated in FIG. 2, at least one vehicle 220 or 240 may be locatedon a road 200. An RSU 210 may be located around the road 200. Thevehicle 220 may include a terminal platform 221, a vehicle communicationmodule (e.g., including communication circuitry) 222, and an antenna223, and the vehicle 240 may include a terminal platform 241, a vehiclecommunication module (e.g., including communication circuitry) 242, andan antenna 243. The vehicle 220 may include, for example, at least someof the components of the electronic device 101 of FIG. 1. In this case,the terminal platform 221 may include the processor (e.g., includingprocessing circuitry) 120, and the vehicle communication module 222 mayinclude the communication module (e.g., including communicationcircuitry) 190. Accordingly, the fact that the vehicle 220 performs aparticular operation may include that the electronic device 101 (e.g.,the processor 120) performs a particular operation, may include thatanother hardware is set to perform a particular operation according tothe control of the processor 120, or may include that an instructionthat causes the processor 120 to perform a particular operation isstored in the memory 130.

The terminal platform 221 or 241 may control various operations of thevehicle 220 or 240 and may acquire various pieces of informationassociated with the vehicle 220 or 240. For example, the vehicle 220 or240 may receive measurement data from various sensors such as a speedmeter (not shown), an accelerometer (not shown), an azimuth meter (notshown), a brake detector (not shown), a position measuring device (e.g.,a global positioning system (GPS) module) (not shown), or a road surfacecondition detector (not shown). The vehicle 220 or 240 (e.g., theterminal platform 221 or 241) may generate transmission data based onthe received measurement data.

According to various embodiments, the terminal platform 221 or 241 maygenerate transmission data (or a message) based on information (e.g.,identification information of the vehicle 220 or 240, the size of thevehicle 220 or 240, or capability-related information of the vehicle 220or 240) included in a memory (not shown) within the vehicle 220 or 240.For example, the vehicle communication module 222 may generate a signalcorresponding to a communication signal using the transmission data andmay provide the generated signal to the antenna 223. The antenna 223 maytransmit a communication signal 231 to a peripheral entity (e.g., theRSU 210, a mobile terminal device 290, or another vehicle 240) using thereceived signal. The communication signal 231 may include various typesof information such as the speed of the vehicle 220, the acceleration ofthe vehicle 220, the azimuth direction of the vehicle 220, whether abrake thereof is operated, the position of the vehicle 220, road surfacedetection information, and the like. For example, the vehicle 220 maytransmit the transmission signal 231 defined in a wireless access invehicular environment (WAVE) scheme, and may use a frequency band usinga designated frequency (e.g., 5.8 GHz) as a center frequency.

According to various embodiments, the vehicle 220 may enable a messageset, a data frame, and a data element associated with an application forimplementing the WAVE scheme, to be included and generated in a basicsafety message (BSM) defined in a specific society of automotiveengineers (SAE) standard (e.g., document J2735), and may enable thegenerated BSM to be included in the communication signal 231 to transmitthe resulting data. The BSM may include information associated with thelocation of the vehicle 220 (e.g., latitude, longitude, altitude, orlocation accuracy) and information associated with the movement thereof(e.g., speed, heading, steering wheel angle, acceleration set, controlinformation (e.g., brake status), or basic information (e.g., Part 1information) of a basic transportation means (e.g., the size of thetransportation means)), and in some cases, may further includeadditional information (e.g., Part 2 information). The types of theinformation included in the BSM are simply examples and may be changedaccording to a change in the standard. The vehicle 220 according tovarious embodiments may transmit the communication signal 231 includinginformation having the same information type as the information typedefined in the BSM, or may transmit the communication signal 231including information having at least partially different informationtype from the information type defined in the BSM.

According to various embodiments, the vehicle 220 may transmit thecommunication signal 231 based, for example, and without limitation, onthe transmission period, transmission frequency, and/or transmissionintensity, or the like, defined in the relevant standard, but this ismerely an example. Those skilled in the art will readily understand thatthere is no limitation on transmission conditions (e.g., transmissionperiod, transmission frequency, or transmission strength) of thecommunication signal 231. The vehicle 220 may transmit the communicationsignal 231 including the BSM in a usual manner, but may enable variousmessages such as common safety request (CSR), emergency vehicle alert(EVA), intersection collision avoidance (ICA), etc., to be included inthe communication signal 231 according to various conditions andtransmit the resulting data.

According to various embodiments, the communication signal 231transmitted by the antenna 223 may include a contextual awarenessmessage (CAM) according to the standard applied to the vehicle 220. Thevehicle 220 may broadcast, unicast, or multicast the communicationsignal 231 to another vehicle 240, the RSU 210, or the electronic device101 via the antenna 223. At least one of the terminal platform 221, thevehicle communication module 222, and the antenna 223 included in thevehicle 220 may be referred to as an onboard unit (OBU).

According to various embodiments, the RSU 210 may receive thecommunication signal 231 from the vehicle 220 and may extractinformation from the received communication signal 231. The RSU 210 maybe located around the road 200 and may be disposed at a point where thesafety of pedestrians is required such as crosswalks, traffic lights, orintersections or at a point where the risk of an accident of the vehicle220 is relatively high. According to various embodiments, the RSU 210may be disposed so that there is no shadow area. According to variousembodiments, the RSU 210 may enable at least one of the receivedinformation and analysis results of the received information to beincluded in the communication signal 232 to broadcast the resulting dataaround, or may transmit the at least one of the received information andthe analysis results of the received information to a server 201.

According to various embodiments, the server 201 may perform managementof the RSU 210, vehicle information collection, traffic informationcollection, or traffic image information providence. The RSU 210 maydetermine various situations (e.g., an accident situation, a vehiclefailure, a dangerous situation of a vehicle or a pedestrian, etc.) basedon the information from the vehicle 220, and may transmit thecommunication signal 232 including the determined various situations toa vehicle (e.g., the vehicle 220 or the vehicle 240) or the mobileterminal device 290. The RSU 210 may broadcast, unicast, or multicastthe communication signal 232 including at least one of identificationinformation of the RSU 210, location information of the RSU 210,information associated with neighboring vehicles, and informationassociated with peripheral pedestrians with respect to peripheralentities. The RSU 210 may transmit warning information or the likedepending on situations. The RSU 210 may control a landmark (e.g., atraffic light) located in a traffic zone according to the receivedinformation.

For example, a pedestrian may be located around the road 200 whilecarrying the mobile terminal device 290. According to variousembodiments, the mobile terminal device 290 may transmit, to the vehicle220 or 240 or the RSU 210, a communication signal 233 includinginformation (e.g., location, speed, heading, acceleration, path historyinformation, information associated with whether a pedestrian is aboardthe corresponding vehicle, pedestrian behavior information, crosswalkcrossing information, pedestrian cluster size information, work-relatedinformation, obstacle-related information, pedestrian-relatedinformation, pedestrian attachment entity information, or the like)acquired by the mobile terminal device 290. The mobile terminal device290 may generate the communication signal 233 using information acquiredthrough various sensors (e.g., the sensor module 176) included therein,information acquired through the input device 150, information acquiredthrough the touch circuit included in the display device 160, orinformation acquired through the communication module 190. For example,the mobile terminal device 290 may enable a personal safety message(PSM) defined in the SAE standard (e.g., document J2735) to be includedin the communication signal 233 and may transmit the resulting data. ThePSM may include, for example, information (e.g., unavailable,pedestrian, pedal cyclist, public safety worker, animal, etc.) about thetype of a user.

According to various embodiments, the PSM may include, for example, timestamp information in which a message is generated. For example, the PSMmay include message count information indicating the number of messagesgenerated by an object that generates the message. The PSM may include,for example, identifier information (e.g., fixed identifier or floatingidentifier) for communication. According to various embodiments, the PSMmay include information (e.g., at least one of latitude, longitude, andaltitude) about the location of the mobile terminal device 290, and mayrepresent the information about the location in a unit (cm, 1/10 microdegree, or 1/10 micro degree) of, for example, the world geodetic system(WGS), but it is not limited as long as it can represent the location(for example, three-dimensional (3D) location).

According to various embodiments, the PSM may include accuracyinformation about the location of the mobile terminal device 290. ThePSM may include, for example, information about the speed. The PSM mayinclude, for example, information about heading. According to variousembodiments, in the WAVE standard, the above-described various types ofinformation may be designated as information that is necessarilyincluded in the PSM, but the mobile terminal device 290 according tovarious embodiments may transmit the communication signal that does notinclude at least some of the above-described various types ofinformation. For example, the information included in the communicationsignal transmitted by the mobile terminal device 290 according tovarious embodiments is not limited.

According to various embodiments, the PSM may include, for example,axis-specific acceleration information. The PSM may include, forexample, information about the history of a path on which the mobileterminal device 290 travels. The PSM may include, for example,information about the type of propulsion (e.g., human propelled type,animal propelled type, or motorized propelled type). The PSM mayinclude, for example, information about a use state, and the informationabout the use state may represent information associated with theperforming operation of the mobile terminal device 290. A parameter ofthe use state may include at least one of parameters such asunavailable, other, idle, listening to audio except for telephone,typing, calling, playing game, reading, content viewing, and the like.The reading may be a state in which a content having relatively smallscreen change over time, such as a content of e-book or a content of webbrowser, is displayed. The content viewing may be a state in which acontent such as a moving image having relatively large screen changeover time is displayed.

According to various embodiments, the mobile terminal device 290 maydetermine its use state based on the type of a currently displayedcontent, whether an audio output is currently performed, the type of acurrently executed application, whether an input is performed through aninput device, or the like. The PSM may include, for example, informationindicating whether the mobile terminal device 290 requests crossing acrosswalk or information indicating that the mobile terminal device 290is crossing. The PSM may include, for example, information about acluster size. The PSM may include, for example, information about eventresponder types (e.g., tow operator, emergency medical service worker,department of transport worker, law enforcement worker, hazmatresponder, animal control worker, etc.). The PSM may include, forexample, information about activity types (e.g., police, trafficarrangement manager, military, or emergency manager, etc.). The PSM mayinclude, for example, information about assist types (e.g., informationabout disabilities such as visual impairment, hearing impairment,behavioral impairment, mental impairment, etc.). The PSM may include,for example, information about sizing (e.g. whether it is an adult or achild, or whether it is obscured by surrounding features). The PSM mayinclude, for example, information about the attachment (e.g., a babycarriage, a cart, or a wheelchair). According to various embodiments,the information about the attachment may include information about thelocation of a vehicle on which the mobile terminal device 290 ismounted. The PSM may include, for example, information about the size ofthe attachment. The PSM may include, for example, information aboutanimal types (e.g., blind guide dog). According to various embodiments,the types of information included in the PSM are examples and may bechanged according to a change in the standard.

The mobile terminal device 290 according to various embodiments maytransmit the communication signal 233 including information having thesame information type as the information type defined in the PSM, or maytransmit the communication signal 233 including information having atleast partially different information type from the information typedefined in the PSM. The mobile terminal device 290 may transmit thecommunication signal 233 based on the transmission period, transmissionfrequency, or transmission intensity defined in the relevant standard,but this is merely an example. Those skilled in the art will readilyunderstand that there is no limitation on transmission conditions (e.g.,transmission period, transmission frequency, or transmission strength)of the communication signal 233. The mobile terminal device 290 maybroadcast, unicast, or multicast the communication signal 233 to thevehicle 220 or the RSU 210.

In various embodiments, when a designated condition is satisfied, themobile terminal device 290 may be configured to transmit thecommunication signal 233. When the designated condition is unsatisfied,the mobile terminal device 290 may not transmit the communication signal233, thereby saving battery power. For example, when it is determinedthat the current location of the mobile terminal device 290 is apredetermined region, the mobile terminal device 290 may transmit thecommunication signal 233 including the PSM. The RSU 210 may transmitpedestrian-related information to neighboring vehicles, and othervehicles may carry out operations for pedestrian safety using thetransmitted pedestrian-related information. The vehicle 220 or 240 thathas received the communication signal 233 directly from the mobileterminal device 290 may provide the information included in thecommunication signal 233, or may control the traveling for pedestriansafety based at least on the information included in the communicationsignal 233.

FIG. 3 is a block diagram illustrating an electronic device according tovarious embodiments.

Referring to FIG. 3, the communication module (e.g., includingcommunication circuitry) 190 may include a vehicle communication module(e.g., including vehicle communication circuitry) 341, and the vehiclecommunication module 341 may be connected to an antenna 342 for avehicle communication module. The antenna 342 for the vehiclecommunication module may be included, for example, in an antenna module197. The electronic device 101 may include a security module (e.g.,including security circuitry and/or storage elements) 343. As describedabove, the electronic device 101 may be included in the vehicle 220 or240 or the mobile terminal device 290. The processor 120 (e.g., the mainprocessor 121) may control the overall operations of the electronicdevice 101. For example, as instructions stored in the memory 130 areexecuted, at least one piece of hardware may be controlled to performoperations corresponding to the instructions.

According to various embodiments, the main processor 121 may includevarious processing circuitry and (e.g., an application processor (AP))may have either a sleep state or a wake-up state. In the sleep state,the main processor 121 may not perform any operation, so that batteryconsumption by the main processor 121 may be reduced. The main processor121 may be switched into the wake-up state using various conditions astriggers, and may operate in accordance with the instructions stored inthe memory 130 in the wake-up state.

According to various embodiments, the main processor 121 may provideinformation associated with the traveling of other vehicles based oninformation included in the communication signal received through thecommunication module 190. The main processor 121 may store, for example,information associated with the traveling of the vehicle in the memory130 for each piece of identification information. When theidentification information of the vehicle is updated, the main processor121 may associate existing identification information with newidentification information, and may connect data corresponding to theexisting identification information to data corresponding to the newidentification information to store the resulting data in the memory130. The main processor 121 may acquire various types of information,such as data from various sensors included in the sensor module 176, forexample, an acceleration sensor, a gyro sensor, a geomagnetic sensor,etc., data from a device of measuring the coordinate position of a GPSmodule, image analysis results acquired by the camera module 180, andthe like.

According to various embodiments, the main processor 121 may control thevehicle communication module 341 and the antenna 342 for the vehiclecommunication module to transmit the communication signal including theacquired information. Although not shown, a front end module (FEM) maybe connected to a space between the vehicle communication module 341 andthe antenna 342 for the vehicle communication module. When the mainprocessor 121 is in the sleep state, the auxiliary processor 123 mayinclude various processing circuitry (e.g., the sensor hub processor)and may perform the operation of the main processor 121 described above.

According to various embodiments, the vehicle communication module 341may support a WAVE communication scheme and may transmit thecommunication signal including, for example, PSM or BSM, via the antenna342 for the vehicle communication module. In various embodiments, theelectronic device 101 may be aboard the vehicle, or the electronicdevice 101 may be electrically connected to the vehicle. For example,the vehicle communication module 341 may transmit the communicationsignal including the BSM through the antenna 342 for the vehiclecommunication module. The vehicle communication module 341 may receivethe communication signal including the BSM or the PSM from otherentities, and may provide the received communication signal to theprocessor 120. The vehicle communication module 341 may process thecommunication signal (e.g., communication signal including the BSM fromthe vehicle) received from the outside via the antenna 342 for thevehicle communication module, and may transmit the processedcommunication signal to the processor 120.

According to various embodiments, the vehicle communication module 341may be implemented as a chip set capable of performing variouscommunication such as Wi-Fi communication, Bluetooth communication,etc., in addition to WAVE communication. For example, the vehiclecommunication module 341 may be implemented as a chipset capable ofperforming both data processing for Wi-Fi and data processing (e.g.,data for WAVE) associated with vehicle safety. For example, the vehiclecommunication module 341 may be implemented as a chipset capable ofperforming both data processing for Wi-Fi and data processing associatedwith vehicle safety (e.g., data for WAVE). For example, the vehiclecommunication module 341 may be implemented as a chipset designed toprocess data by IEEE 802.11 a/b/n/p. In addition, the antenna 342 forthe vehicle communication module may perform transmission/reception ofthe communication signal for Wi-Fi and transmission/reception of thecommunication signal associated with vehicle safety (e.g., communicationsignal for WAVE).

According to various embodiments, the communication signal for Wi-Fi mayuse a frequency band having a center frequency of a designated frequency(e.g., 5 GHz), and the communication signal for WAVE may use a frequencyband having a center frequency of a frequency (e.g., 5.8 GHz) having arelatively small difference with the frequency band for Wi-Fi, so thatthe antenna 342 for the vehicle communication module may perform bothtransmission and reception of the two communication signals. Althoughthe antenna 342 for the vehicle communication module is shown as beingone antenna, this is merely an example, and thus a plurality of antennasmay be implemented as required by the communication standard. When thevehicle communication module 341 supports a plurality of communicationschemes, the vehicle communication module 341 may be connected to thecorresponding antenna for each of a plurality of communication schemes.

According to various embodiments, the communication schemes havingsimilar frequencies (e.g., Wi-Fi communication in a 5 GHz band and aWAVE communication in a 5.8 GHz) among the plurality of communicationschemes may share an antenna. The security module 343 may includevarious security circuitry and/or storage elements and store informationrequired for data processing for WAVE, and the vehicle communicationmodule 341 or the processor 120 may process data for WAVE using thestored information. For example, the security module 343 may storevarious types of information such as information used for WAVEmodulation/demodulation, information used for encryption/decryption,information used for processing a message, and the like. For example,the vehicle communication module 341 or the processor 120 may access thesecurity module 343 directly or indirectly.

According to various embodiments, the security module 343 may beimplemented integrally with the memory 130 or may be implemented asdifferent hardware, depending on the implementation. The security module343 may be included in the communication module 190 or the vehiclecommunication module 341 depending on the implementation. The vehiclecommunication module 341 may receive data from the main processor 121 orthe auxiliary processor 123 and processes the received data to generatea signal corresponding to the communication signal for WAVE, and mayprovide the generated signal to the antenna 342 for the vehiclecommunication module. For example, when the main processor 121 is in thewake-up state, the vehicle communication module 341 may receive datafrom at least one of the main processor 121 and the auxiliary processor123. When the main processor 121 is in the sleep state, the vehiclecommunication module 341 may receive data from the auxiliary processor123. The auxiliary processor 123 may include at least one of aprocessing circuit capable of acquiring data from at least one ofsensors (e.g., an acceleration sensor, a gyro sensor, or a geomagneticsensor) and a GPS module and a storage circuit capable of temporarily ornon-temporarily storing the acquired data.

According to various embodiments, the vehicle communication module 341may include at least one of a processing circuit capable of processingthe communication signal for WAVE, a transmission circuit capable oftransmitting the communication signal, and a reception circuit capableof receiving the communication signal. The vehicle communication module341 may perform scanning for receiving the communication signal everydesignated period, may analyze the result of the scanning, and mayoperate even when the main processor 121 is in the sleep state. Thevehicle communication module 341 may receive the communication signaland may wake up the main processor 121 when the data included in thecommunication signal satisfies a designated condition. The vehiclecommunication module 341 may include a transmission circuit fortransmitting the communication signal and a reception circuit forprocessing the communication signal from other electronic devices. Forexample, the electronic device 101 may selectively activate thetransmission circuit or the reception circuit. For example, theelectronic device 101 may deactivate the transmission circuit and mayactivate the reception circuit to thereby scan the communication signalfrom other entities even without transmitting the communication signal.In this document, an arbitrary module for performing communication maybe referred to as a communication circuit.

According to various embodiments, the processor 120 may receive thecommunication signal including the BSM or the PSM. When the mainprocessor 121 is in the sleep state, the auxiliary processor 123 mayprocess the BSM or PSM included in the received communication signal tomanage the information included therein. The auxiliary processor 123 orthe vehicle communication module 341 may wake up the main processor 121when it is detected that the designated condition is satisfied. Theprocessor 120 may manage the information for each identificationinformation, and may associate, when the identification information ischanged, data received together with other identification informationwith data received together with the existing identificationinformation. Meanwhile, when the electronic device 101 is included in ameans capable of supplying sufficient power, as in the vehicle 220, theelectronic device 101 may not include the auxiliary processor 123 for alow power mode.

According to various embodiments, the processor 120 may display variousgraphical objects (e.g., a graphic user interface (GUI)) associated withvehicle safety on the display device 160. In various embodiments, theprocessor 120 may display, on the display device 160, a contentindicating at least one of the movement and location of another vehicle,which is generated based on at least a portion of information includedin the BSM received from the other vehicle. For example, the processor120 may display, on the display device 160, contents corresponding toother vehicles, together with a navigation execution screen. The audiomodule 170 may output vehicle-related warning sound or the like.According to various embodiments, the processor 120 may display, on thedisplay device 160, information (e.g., notification message) associatedwith a relay message received from another external vehicle in the formof, for example, text or an image, or may notify a driver of theinformation associated with the relay message in various methods (e.g.,sound or warning sound) through the audio module 170.

According to various embodiments, when receiving the relay message fromanother external vehicle through the communication module 190, theprocessor 120 may control the designated function of the electronicdevice 101 (e.g., vehicle) based on the information associated with thereceived relay message. For example, the processor 120 of the electronicdevice 101 may perform vehicle control such as controlling a brake basedon the received relay message, controlling the speed of the vehicle, orautomatically blinking an emergency light.

According to various embodiments, the camera module 180 may capture animage, and the processor 120 may determine whethertransmission/reception of the communication signal for WAVE is activatedusing the image received from the camera module 180. An accelerationsensor included in the sensor module 176 may sense the acceleration ofthe electronic device 101, a gyro sensor may sense rotation information,and a geomagnetic sensor may sense geomagnetic information. Theprocessor 120 may enable corresponding information to be included in thecommunication signal (e.g., communication signal including BSM or PSM)to be transmitted through the vehicle communication module 341 by usingdata from various sensors (e.g., an acceleration sensor, a gyro sensor,a geometric sensor, etc.) or the GPS module.

FIG. 4 is a block diagram illustrating an electronic device according tovarious embodiments.

Referring to FIG. 4, an electronic device 401 (e.g., the electronicdevice 101 of FIG. 1, or the electronic device 290 or the vehicle 220 or240 of FIG. 2) may include an application processor (e.g., includingprocessing circuitry) (AP) 411, a display 412, an audio module (e.g.,including audio circuitry) 413, a camera 414, a PMIC (e.g., includingpower management circuitry) 415, a USB interface (e.g., including USBinterface circuitry) 416, a battery 417, a sensor hub 418, anacceleration sensor 419, a gyro sensor 420, a geometric sensor 421, aGPS module (e.g., including GPS circuitry) 431, an antenna 432 for aGPS, an RFIC (e.g., including radio frequency circuitry) 433, an antenna434 for an RFIC, a communication module (e.g., including communicationcircuitry) 435, an antenna 436 for a communication module, a securitymodule (e.g., including security circuitry and/or storage elements) 437,and a memory 450.

According to various embodiments, the AP 411 (e.g., the main processor121) may provide control to perform the overall operations of theelectronic device 401. For example, as a command stored in the memory450 (e.g., the memory 130) is executed, at least one piece of hardwaremay be controlled to perform an operation corresponding to the command.The AP 411 may have either a sleep state or a wake-up state. In thesleep state, the AP 411 may not perform any operation, and therebybattery consumption by the AP 411 may be reduced. The AP 411 may beswitched to an automatic activation (wake-up) state using variousconditions as triggers, or may be switched to any one state of variousstates of the electronic device 401. The various states may be statesassociated with at least one of transmission and reception of at leastone of PSM and BSM. According to various embodiments, when theelectronic device 401 is a moving means (e.g., a vehicle), the AP 411may, for example, and without limitation, be a micro controller unit(MCU) and may be configured to include at least some functions of theMCU.

According to various embodiments, in the automatic activation (wake-up)state, the AP 411 may operate in accordance with the commands stored inthe memory 450. The AP 411 may acquire various types of information suchas data from various sensors such as the acceleration sensor 419, thegyro sensor 420, the geometric sensor 421, etc., data from the GPSmodule 431, and image analysis results acquired by the camera 414. TheAP 411 may control the communication module 435 and the antenna 436 forthe communication module to transmit a communication signal includingthe acquired information. Although not shown, an FEM may be connected toa space between the communication module 435 and the antenna 436 for thecommunication module.

According to various embodiments, the communication module 435 may beimplemented as a chipset capable of performing both data processing forWi-Fi and data (e.g., data for WAVE) processing associated with vehiclesafety. For example, the communication module 435 may be implemented asa chipset designed to process data by IEEE 802.11 a/b/n/p. For example,the antenna 436 for the communication module may performtransmission/reception of the communication signal for Wi-Fi andtransmission/reception of the communication signal associated withvehicle safety (e.g., communication signal for WAVE). For example, thecommunication signal for Wi-Fi may use a frequency band having a centerfrequency of 5 GHz, and the communication signal for WAVE may use afrequency band having a center frequency of 5.8 GHz having a relativelysmall difference with the frequency band for Wi-Fi, so that the antenna436 for the communication module may perform both transmission andreception of the two communication signals. Although the antenna 436 forthe communication module is shown as being one antenna, this is merelyan example, and thus a plurality of antennas may be implemented asrequired by the communication standard.

According to various embodiments, the security module 437 may storeinformation required for data processing for WAVE, and the communicationmodule 435 may process data for WAVE using the stored information. Forexample, the security module 437 may store various types of informationsuch as information used for WAVE modulation/demodulation, informationused for encryption/decryption, information used for processing amessage, and the like. For example, the communication module 435, the AP411, or the sensor hub 418 may access the security module 437 directlyor indirectly. The security module 437 may be implemented integrallywith the memory 450 or may be implemented as different hardware,depending on the implementation.

According to various embodiments, the communication module 435 mayreceive data from the AP 411, may process the received data, and maygenerate an electrical signal corresponding to the communication signalfor WAVE to provide the generated electrical signal to the antenna 436for the communication module. The communication module 435 may receivedata from the sensor hub 418, may process the received data, and maygenerate an electrical signal corresponding to the communication signalfor WAVE to provide the generated electrical signal to the antenna 436for the communication module. For example, when the AP 411 is in anautomatic activation (wake-up) state, the communication module 435 mayreceive data from at least one of the AP 411 and the sensor hub 418.When the AP 411 is in a sleep state, the communication module 435 mayreceive data from the sensor hub 418. The sensor hub 418 (e.g., theauxiliary processor 123) may include at least one of a processingcircuit capable of acquiring and processing data from at least one ofsensors (e.g., the acceleration sensor 419, the gyro sensor 420, thegeometric sensor 421, etc.) and the GPS module 431, and a storagecircuit capable of temporarily or non-temporarily storing the acquiredand processed data.

According to various embodiments, the communication module 435 mayinclude at least one of a processing circuit capable of processing thecommunication signal for WAVE, a transmission circuit capable oftransmitting the communication signal, and a reception circuit capableof receiving the communication signal. The communication module 435 mayperform scanning for receiving the communication signal every designatedperiod, may analyze the result of the scanning, and may operate evenwhen the AP 411 is in the sleep state.

According to various embodiments, the communication module 435 mayreceive the communication signal and may automatically wake-up the AP411 when the data included in the communication signal satisfies adesignated condition. In a case in which the AP 411 is in the sleepstate in a general Wi-Fi operation, the AP 411 may be automaticallyactivated (woken up) when a connection has been made even once or thecommunication signal is received from an access point having adesignated condition. Since information about the designated conditionor the connected access point may be updated, information of the storageof the communication module 435 may be changed by the AP 411 whenupdating is required, and the communication module 435 may operate bythe changed information.

According to various embodiments, the communication module 435 mayinclude a transmission circuit for transmitting the communication signaland a reception circuit for processing the communication signal fromanother electronic device. The electronic device 101 may selectivelyactivate the transmission circuit and the reception circuit. Forexample, the communication signal from another entity may be scannedwithout transmitting the communication signal by deactivating thetransmission circuit and activating the reception circuit. In thisdocument, an arbitrary module (e.g., the communication module 435 or thevehicle communication module) for performing communication may bereferred to as a communication circuit.

According to various embodiments, it is determined that the currentlocation of the electronic device 101 corresponds to a dangerous areaand that the electronic device 101 is located outside the vehicle 220,the AP 411 or the sensor hub 418 may correspondingly activate thetransmission circuit of the communication module 435 and may control totransmit the communication signal (e.g., communication signal includingPSM or BSM) including data acquired through the activated transmissioncircuit.

According to various embodiments, the AP 411 or the sensor hub 418 mayprovide control to transmit the communication signal using at least aportion of geographic information for a particular area. For example,when the electronic device 401 enters a particular area, geographicinformation for the particular area may be received via an RSU (e.g.,the RSU 210) or a server and may be stored in the memory 450. In variousembodiments, the memory 450 may store information about a dangerousarea. The geographic information according to various embodiments may bedata represented by a numerical value associated with at least one of adesignated latitude, longitude, and altitude, or data in the form of animage.

According to various embodiments, when it is determined that thelocation information of the electronic device 401 identified through theGPS module 431 belongs to a designated location (for example, adangerous area, etc.), the AP 411 or the sensor hub 418 may control thecommunication module 435 to transmit the communication signal. When theAP 411 is in the sleep state, the sensor hub 418 may receive and storeonly at least a portion of the geographic information for the particulararea from the memory 450, and may compare the stored geographicinformation with the current location of the electronic device 401identified through the GPS module 431. The sensor hub 418 may determinewhether to transmit the communication signal based on the comparisonresult.

According to various embodiments, the display 412 (e.g., the displaydevice 160) may display various graphical objects (e.g., GUI) associatedwith vehicle safety. In various embodiments, the display 412 may displaythe graphical object capable of activating whether to transmit andreceive the communication signal for WAVE, and the AP 411 may transmitand receive the communication signal for WAVE according to an input froma user.

According to various embodiments, the audio module 413 (e.g., the audiomodule 170) may output vehicle-related warning sound or the like. Thecamera 414 (e.g., the camera module 180) may capture an image and the AP411 may determine whether transmission and reception of thecommunication signal for WAVE are activated using the image receivedfrom the camera 414. According to various embodiments, the PMIC 415(e.g., the power management module 188) may control at least one of avoltage and a current of power from the battery 417 (e.g., the battery189) to be a numerical value suitable for each hardware, and may providethe resulting data. According to various embodiments, a cable for wiredpower transmission may be connected via the USB interface 416 (e.g., theinterface 177), and the electronic device 401 may receive power via theUSB interface 416 (e.g., the interface 177).

According to various embodiments, the display 421 may display variousgraphic objects (e.g., graphic user interface (GUI)) associated withvehicle safety. According to various embodiments, the AP 411 maydisplay, on the display 412, a content indicating at least one of themovement and location of another vehicle, which is generated based on atleast a portion of information included in the BSM received from theother vehicle. For example, the AP 411 may display, on the displaydevice 412, contents corresponding to other vehicles, together with anavigation execution screen. The audio module 413 may outputvehicle-related warning sound or the like. According to variousembodiments, the AP 411 may display, on the display device 412,information (e.g., notification message) associated with a relay messagereceived from another electronic device (e.g., external vehicle) in theform of, for example, text or an image, or may notify a driver of theinformation associated with the relay message in various methods (e.g.,sound or warning sound) through the audio module 413.

According to various embodiments, when receiving the relay message fromanother external vehicle through the communication module 435, the AP411 may control the designated function of the electronic device 401(e.g., vehicle) based on the information associated with the receivedrelay message. For example, the AP 411 of the electronic device 401 mayperform vehicle control such as controlling a brake based on thereceived relay message, controlling the speed of the vehicle, orautomatically blinking an emergency light.

According to various embodiments, the RFIC 433 may be implemented as achipset for, for example, data communication, and may generate anelectrical signal corresponding to a signal for data communication basedon data provided from the AP 411 to provide the generated electricalsignal to the antenna 434 for the RFIC. According to variousembodiments, the acceleration sensor 419 may confirm the acceleration ofthe electronic device 401, the gyro sensor 420 may confirm rotationinformation thereof, and the geomagnetic sensor 421 may confirmgeomagnetic information thereof.

According to various embodiments, the AP 411 or the sensor hub 418 mayenable corresponding information to be included in the communicationsignal (e.g., communication signal including PSM or BSM) to betransmitted through the communication module 435 by using data fromvarious sensors (e.g., the acceleration sensor 419, the gyro sensor 420,the geometric sensor 421, etc.) or the GPS module 431. In variousembodiments, the electronic device 401 may not include the sensor hub418. In this case, the AP 411 may be always in an automatic activation(wake-up) state or may be automatically activated (woken up)periodically to determine whether to transmit the communication signal.

In various embodiments, the AP 411 or the sensor hub 418 may execute avulnerable road user (VRU) safety application. The VRU safetyapplication may be an application capable of generating theabove-described BSM or PSM. The VRU safety application may determine thelocation, direction, speed, and time of the electronic device 101, orthe relative position of the electronic device 101 with other entitiesbased on at least some of data from the GPS module 431, data acquiredfrom a Bluetooth low energy (BLE) positioning system, and data collectedfrom various sensors (e.g., the acceleration sensor 419, the gyro sensor420, the geometric sensor 421, etc.). The VRU safety application maygenerate the PSM according to a detected event or may determine a pointof time when the corresponding PSM is transmitted.

In various embodiments, the AP 411 or the sensor hub 418 may select anyone of various states of the electronic device 401, and may accordinglydetermine a transmission or reception mode of the PSM or the BSM.

An electronic device according to any one of various embodiments mayinclude at least one sensor; at least one communication circuit; and aprocessor electrically connected to the at least one sensor and/or theat least one communication circuit, wherein the processor may beconfigured to determine a relay message generation condition associatedwith a vehicle based at least on data acquired from the at least onesensor and/or the at least one communication circuit, generate a relaymessage based at least on the data acquired from the at least one sensorand/or the at least one communication circuit when the relay messagegeneration condition is satisfied based on the determination result, andto transmit the generated relay message to an external vehicle throughthe at least one communication circuit.

According to various embodiments, the data acquired from the at leastone sensor may include at least one of information about at least oneexternal vehicle adjacent to the electronic device, information about anobject loaded on the at least one external vehicle adjacent to theelectronic device, information about a state of a road on which theelectronic device is located, and information about weather in an areain which the electronic device is located.

According to various embodiments, the at least one sensor may include animage sensor included in a camera module, and the data acquired from theat least one sensor may include state information of a road determinedfrom data collected through the image sensor.

According to various embodiments, the data acquired from the at leastone communication circuit may include BSM data transmitted from the atleast one external vehicle adjacent to the electronic device or PSM datatransmitted from at least one external electronic device.

According to various embodiments, the relay message may include at leastone of relay condition information about the relay message, messagecontent information, and location information of the electronic device.

According to various embodiments, the relay condition information mayinclude at least one of a relay frequency, a distance, a time, and amovement direction.

According to various embodiments, the relay message may be configuredusing a BSM of an SAE standard.

An electronic device according to any one of various embodiments mayinclude at least one communication circuit; and a processor electricallyconnected to the at least one communication circuit, wherein theprocessor may be configured to determine whether a BSM is a relaymessage from information included in the BSM received through the atleast one communication circuit, to determine whether a relay conditionincluded in the BSM is satisfied when the BSM is the relay message, togenerate the relay message based on the received BSM when the relaycondition is satisfied, and to transmit the generated relay message toan external vehicle through the at least one communication circuit.

According to various embodiments, the electronic device may furtherinclude a display configured to be electrically connected to theprocessor, wherein the processor may be configured to displayinformation associated with the received BSM through the display.

According to various embodiments, the processor may be configured todetermine whether the relay condition included in the BSM is satisfiedbased at least on information associated with the electronic device, andto update relay-related information included in the received BSM togenerate the relay message when the relay condition is satisfied.

According to various embodiments, the processor may be configured todisplay a notification message on the display, to output sound orwarning sound, or to control a designated function of a vehicle, basedon the relay-related information included in the received BSM.

According to various embodiments, the relay message transmitted to theexternal vehicle may be configured using a BSM of an SAE standard.

According to various embodiments, the relay condition may include atleast one of a relay frequency, a distance, a time, and a movementdirection.

According to various embodiments, the processor may be configured totransmit the generated relay message after a time randomly set by theelectronic device.

FIG. 5 is a diagram illustrating a transmission concept of a relaymessage according to various embodiments. Referring to FIG. 5, at leastone vehicle 510 (referred to as a first vehicle for convenience ofexplanation) (e.g., the electronic devices 101, 102, and 104 of FIG. 1,the vehicles 220 and 240 of FIG. 2, and the electronic device 401 ofFIG. 4) may determine a relay message generation condition associatedwith a vehicle based on data acquired from at least one sensor or atleast one communication circuit.

According to various embodiments, when the relay message generationcondition is satisfied based on the determination result, the firstvehicle 510 may generate a relay message 511 based at least on the dataacquired from the at least one sensor or the at least one communicationcircuit. The first vehicle 510 may transmit the generated relay message511 to an external vehicle through the at least one communicationcircuit.

According to various embodiments, a second vehicle 520 that is anexternal vehicle of the first vehicle 510 may receive the relay message511 transmitted from the first vehicle 510, and may display information(e.g., notification message) associated with the received relay message511 on a display in the form of, for example, text or an image or maynotify a driver of the information associated with the received relaymessage 511 in various methods (e.g., sound or warning sound).

According to various embodiments, the second vehicle 520 may receive therelay message 511 and may control a designated function of the secondvehicle 520 based on the information associated with the received relaymessage 511.

For example, the second vehicle 520 may perform vehicle control such ascontrolling a brake, controlling the speed thereof, or automaticallyblinking an emergency light based on the received relay message 511.

The second vehicle 520 may confirm a relay condition included in thereceived relay message, and may determine whether the confirmed relaycondition is satisfied. According to various embodiments, when the relaycondition is satisfied based on the determination result, the secondvehicle 520 may retransmit the received relay message to at least oneexternal vehicle. According to various embodiments, when the relaycondition is satisfied based on the determination result, the secondvehicle 520 may update relay-related information (e.g., relay conditioninformation) of the received relay message, and may retransmit theupdated relay message to the at least one external vehicle.

According to various embodiments, a third vehicle 530 may receive therelay message transmitted by the second vehicle 520. The third vehicle530 may receive a relay message 531 transmitted from the second vehicle520, and may display information associated with the received relaymessage 531 on the display or may notify a driver of the same in variousmethods (e.g., sound or warning sound).

According to various embodiments, the third vehicle 530 may receive therelay message 531 and may control a designated function of the thirdvehicle 530 based on the information associated with the received relaymessage 531. For example, the third vehicle 530 may perform vehiclecontrol such as controlling a brake based on the received relay message531, controlling the speed of a vehicle, or automatically blinking anemergency light.

According to various embodiments, a vehicle-related message may betransmitted even to a vehicle separated by a long distance of apredetermined distance (e.g., 1 km) or more by continuously transmittingthe vehicle-related message from at least one vehicle to anotherexternal vehicle by the method illustrated in FIG. 5. For example, whena coverage capable of transmitting a BSM transmitted between vehicles islimited within a predetermined distance (e.g., 300 m to 1 km), a messagemay be transmitted to a vehicle beyond the transmission coverage of theBSM by relaying and transmitting the message as in the methodillustrated in FIG. 5.

FIG. 6 is a diagram illustrating a data format of a relay messageaccording to various embodiments. Referring to FIG. 6, a relay messageaccording to various embodiments may be included in a V2X message 600and may be transmitted.

For example, when the V2X message 600 includes a V2X message formatregion 610 and a V2X message addition region 620 as illustrated in FIG.6, at least one piece of relay data of the relay message may be includedin the V2X message addition region 620 and may be transmitted.

According to various embodiments, the relay data may be configured toinclude data fields such as a type field 621, a data field 622, a valuefield 623, etc. For example, the type field 621 may include a life cyclevalue of the relay message and may determine whether the relay messageis transmitted or deleted according to the life cycle. According tovarious embodiments, the type field 621 may include a message relayreference value such as a movement direction (up or down), a distance, atime, a relay frequency, or the like.

For example, the data field 622 may include information of the relaymessage (e.g., localization, real-time, and message-based processedvalues received from a plurality of vehicles). According to variousembodiments, the data field 622 may include data corresponding toimmediate/local information such as a dangerous area notification, atraffic accident warning, an emergency vehicle warning, etc., and mayinclude data processed based on messages acquired from a plurality ofpieces of vehicle information such as traffic jam, “single lanedriving”, warning for no passing, etc. For example, the value field 623may include information such as a distance from a current vehicle from areference to which the relay message is transmitted, a time, acalculated value of the relay frequency, etc.

FIG. 7 is a diagram illustrating a data format of a relay message usinga BSM according to various embodiments. Referring to FIG. 7, a relaymessage according to various embodiments may enable relay-relatedinformation to be included in a BSM 700 and the resulting data may betransmitted. For example, the BSM 700 may be configured to include a BSMheader 710 and a BSM data part 720 including a BSM data part 1 field 720a, and a BSM data part 2 field 720 b.

The BSM 700 may configure a message set, a data frame, and a dataelement, which are associated with an application for implementing aWAVE scheme, in a form defined in a specific SAE standard (e.g.,document J2735).

For example, the BSM data part 1 field 720 a may include information 721associated with the location of a vehicle (e.g., latitude, longitude,altitude, or location accuracy), information 722 associated with themovement of a vehicle (e.g., speed or heading), a steering wheel angle723, acceleration setting, control information (e.g., brake status), orbasic information of a basic transportation means (e.g., size of thetransportation means).

According to various embodiments, the BSM data part 2 field 720 b mayinclude at least one piece of relay data or relay-related informationconstituting the relay message. For example, the BSM data part 2 field720 b may include at least one piece of data included in the V2X messageaddition region 620 of FIG. 6.

According to various embodiments, the BSM data part 2 field 720 b mayinclude a relay condition 724, a message content 725, and emergencyvehicle location information 726 as illustrated in FIG. 7. The relaycondition 724 may include distance information 724 a or direction (e.g.,up or down, or heading) information 724 b. Specific examples ofutilization of the above-mentioned data will be described in greaterdetail below with reference to FIGS. 10 to 15. The types of informationincluded in the BSM 700 illustrated in FIG. 7 are examples and may bechanged according to a change in the standard. The vehicle 220 accordingto various embodiments may transmit a communication signal includinginformation having the same information type as the information typedefined in the BSM 700, or may transmit the communication signal 233including information having at least partially different informationtype from the information type defined in the BSM 700.

FIG. 8 is a flowchart illustrating a procedure for transmitting a relaymessage to an external vehicle according to various embodiments.Referring to FIG. 8, in operation 801, an electronic device (e.g., theelectronic device 101, 102, or 104, the vehicle 220 or 240 of FIG. 2, orthe electronic device 401 of FIG. 4) may collect information or datafrom at least one sensor or at least one communication circuit.

According to various embodiments, the information collected by thesensor of the electronic device may include at least one of informationabout at least one external moving means (e.g., vehicle) adjacent to theelectronic device, information about an object loaded on the at leastone external vehicle adjacent to the electronic device, informationabout the state of a road on which the electronic device is located, andinformation about weather in an area in which the electronic device islocated. According to various embodiments, the at least one sensor mayinclude an image sensor included in a camera module, and the dataacquired from the at least one sensor may include state information of aroad determined from data collected through the image sensor.

According to various embodiments, the data acquired from thecommunication circuit of the electronic device may include BSM datatransmitted from the at least one external vehicle adjacent to theelectronic device or PSM data transmitted from at least one externalelectronic device.

In operation 803, the electronic device may determine a relay messagegeneration condition associated with a vehicle based at least oninformation or data acquired from the at least one sensor or the atleast one communication circuit. For example, neighboring vehicles, aroad condition, and weather condition information may be determinedthrough the information acquired from the sensor of the electronicdevice, and a plurality of V2X messages received from a plurality ofneighboring vehicles or terminals through the communication circuit ofthe electronic device may be analyzed to determine whether the pluralityof V2X messages match data corresponding to the relay message generationcondition.

When the relay message generation condition is satisfied based on thedetermination result in operation 805, the electronic device maygenerate relay message-related information based at least on the dataacquired from the at least one sensor or the at least one communicationcircuit in operation 809. According to various embodiments, the relaymessage-related information may correspond to data included in the relaydata format field 620 or the BSM data part 2 field 720 b illustrated inFIG. 6 or 7.

In operation 811, the electronic device may generate a relay messagebased on the generated relay message-related information. According tovarious embodiments, the relay message may be composed of the V2Xmessage illustrated in FIG. 6 or 7 or the BSM.

In operation 813, the electronic device may transmit the generated relaymessage to at least one external vehicle through the communicationcircuit.

According to various embodiments, when the relay message generationcondition is not satisfied based on the determination result inoperation 805, the electronic device may generate a general V2X messageor BSM based at least on the data acquired from the at least one sensoror the at least communication circuit and may transmit the generatedinformation in operation 807.

FIG. 9 is a flowchart illustrating a procedure for retransmitting areceived relay message according to various embodiments. Referring toFIG. 9, in operation 901, an electronic device (e.g., the electronicdevice 101, 102, or 104, the vehicle 220 or 240 of FIG. 2, or theelectronic device 401 of FIG. 4) (e.g., a vehicle) may receive a V2Xmessage or a BSM transmitted from an external vehicle, and may confirmthe received message in operation 903.

In operation 905, the electronic device may display informationassociated with the received V2X message or BSM on a screen through adisplay, or may notify a driver of the same in various methods (e.g.,sound or warning sound). According to various embodiments, theelectronic device may receive the relay message, and may control adesignated function of the electronic device based on informationassociated with the received relay message. For example, the electronicdevice may perform vehicle control such as controlling a brake based onthe received relay message, controlling the speed of the vehicle, orautomatically blinking an emergency light.

In operation 907, the electronic device may determine whetherrelay-related information is included in the received V2X message orBSM, and may determine whether the received message is a relay message.For example, when designated relay-related information is included invarious types of messages received at the electronic device, thereceived message may be determined to be the relay message. According tovarious embodiments, when the message is the relay message, the relaymessage may include a data field of at least one of relay conditioninformation, message content information, and location information ofthe electronic device.

When the received message is the relay message based on thedetermination result, the electronic device may confirm a relaytransmission condition (or a relay condition) included in the receivedmessage in operation 909. According to various embodiments, the relaycondition information may include at least one of a relay frequency, adistance, a time, and a movement direction.

When the relay condition is satisfied based on the determination resultin operation 911, the electronic device may update the relay messageinformation in operation 913. For example, the electronic device mayupdate the relay frequency or life cycle information included in therelay message.

In operation 915, the electronic device may retransmit the updated relaymessage to at least one external vehicle through the communicationcircuit.

According to various embodiments, a vehicle-related message may betransmitted even to a vehicle separated by a long distance of apredetermined distance (e.g., 1 km) or more by continuously transmittingthe vehicle-related message from at least one vehicle to anotherexternal vehicle by the above-described method. For example, when acoverage capable of transmitting a BSM transmitted between vehicles islimited within a predetermined distance (e.g., 300 m to 1 km), a messagemay be transmitted to a vehicle beyond the transmission coverage of theBSM by relaying and transmitting the message as in the above-describedmethod.

A method of transmitting a relay message from an electronic device to anexternal vehicle according to any one of various embodiments may includedetermining a relay message generation condition associated with avehicle based at least on data acquired from at least one sensor or atleast one communication circuit; generating a relay message based atleast on the data acquired from the at least one sensor or the at leastone communication circuit when the relay message generation condition issatisfied based on the determination result; and transmitting thegenerated relay message to the external vehicle through the at least onecommunication circuit.

According to various embodiments, the data acquired from the at leastone sensor may include at least one of information about at least oneexternal vehicle adjacent to the electronic device, information about anobject loaded on the at least one external vehicle adjacent to theelectronic device, information about a state of a road on which theelectronic device is located, and information about weather in an areain which the electronic device is located.

According to various embodiments, the data acquired from the at leastone sensor may include state information of a road determined from datacollected through an image sensor included in a camera module.

According to various embodiments, the data acquired from the at leastone communication circuit may include BSM data transmitted from the atleast one external vehicle adjacent to the electronic device or PSM datatransmitted from at least one external electronic device.

According to various embodiments, the relay message may include at leastone of relay condition information about the relay message, messagecontent information, and location information of the electronic device.

According to various embodiments, the relay condition information mayinclude at least one of a relay frequency, a distance, a time, and amovement direction.

According to various embodiments, the relay message may be configuredusing a BSM of an SAE standard.

Hereinafter, examples of various situations of transmitting a relaymessage to an external vehicle according to an embodiment will bedescribed in greater detail with reference to FIGS. 10 to 15.

FIG. 10 is a diagram illustrating an example of a situation where arelay message is transmitted to an external vehicle according to variousembodiments. Referring to FIG. 10, a first vehicle 1010 may detect asinkhole 1000 through at least one sensor (e.g., an image sensorprovided in a camera module (e.g., the camera module 180 of FIG. 1)while traveling on a road.

The first vehicle 1010 may determine that the detected sinkhole 1000 isa dangerous situation and may determine whether the detection of thesinkhole 1000 satisfies a predetermined relay message generationcondition (or a relay message transmission condition).

When the detection of the sinkhole 1000 satisfies the predeterminedrelay message generation condition based on the determination result,the first vehicle 1010 may generate a relay message 1011 includingrelated information according to the detection of the sinkhole 1000. Thefirst vehicle 1010 may transmit the generated relay message 1011 to anexternal vehicle.

A second vehicle 1020 may receive the relay message transmitted by thefirst vehicle 1010. The second vehicle 1020 may display informationassociated with the received relay message on a screen through adisplay. According to various embodiments, the second vehicle 1020 mayreceive the relay message 1011 and may control a designated function ofthe second vehicle 1020 based on the information associated with thereceived relay message 1011. For example, the second vehicle 1020 mayperform vehicle control such as controlling a brake based on thereceived relay message 1011, controlling the speed of the vehicle, orautomatically blinking an emergency light.

The second vehicle 1020 may confirm a relay transmission conditionincluded in the received relay message, and may generate a relay messagebased on the received relay message to retransmit the generated relaymessage to at least one external vehicle when the relay transmissioncondition is satisfied. A third vehicle 1030 may confirm the relaymessage 1031 retransmitted by the second vehicle 1020 and may confirminformation indicating that the sinkhole is detected, for example, 1 kmahead.

Although FIG. 10 illustrates the detection of the sinkhole, real-timevehicle status information such as obstacle detection, overloading,falling object occurrence concern vehicle information, emergency vehicleaccess notification, or vehicle failure notification, real-time roadinformation such as construction section, real-time weather informationsuch as fog, a sea fog, yellow sand, or heavy rain, and the like may begenerated as the relay message and transmitted.

FIG. 11 is a diagram illustrating an example of a situation where arelay message is transmitted to an external vehicle according to variousembodiments. Referring to FIG. 11, a first vehicle 1120 may receive aBSM through a communication circuit from a plurality of vehicles 1110 a,1110 b, 1110 c, and 1110 d, which are traveling ahead of the firstvehicle 1120, while the first vehicle 1120 is traveling on a road. Thefirst vehicle 1120 may determine vehicle congestion information frominformation included in the BSM.

The first vehicle 1120 may determine whether the vehicle congestioninformation included in the BSM satisfies a predetermined relay messagegeneration condition (or a relay message transmission condition).

When the vehicle congestion information satisfies the predeterminedrelay message generation condition based on the determination result,the first vehicle 1120 may generate a relay message 1121, including thevehicle congestion information. The first vehicle 1120 may transmit thegenerated relay message 1121 to an external vehicle.

The relay message 1121 transmitted by the first vehicle 1120 may becontinuously relayed and transmitted to a second vehicle 1130, a thirdvehicle 1140, and a fourth vehicle 1150.

According to various embodiments, even though a transmittable coverageof the BSM is small, a vehicle (e.g., the fourth vehicle 1150) locatedat a remote location may also confirm various types of information(e.g., vehicle congestion information) by continuously relaying andtransmitting the BSM as described above.

In FIG. 11, an example in which the vehicle congestion information isrelayed and transmitted has been described. However, information such asa traffic accident situation such as multiple collision accident or roadcollapse notification, “single lane driving” information, a real-timetraffic information status such as specific road congestion, and thelike may be generated as the relay message and transmitted.

FIG. 12 is a diagram illustrating an example of a situation where arelay message is transmitted to an external vehicle according to variousembodiments. Referring to FIG. 12, according to various embodiments, afirst vehicle 1210 (e.g., an ambulance) may transmit a relay message toa plurality of vehicles 1220, 1230 and 1240, which are traveling aheadof the first vehicle 1210, while the first vehicle 1210 is traveling ona road, using the above-described method.

For example, in order to notify that the first vehicle 1210 is anemergency vehicle, the first vehicle 1210 may configure and transmit arelay message to include relay data of which life cycle may be set as 5km and content is ‘emergency vehicle’. According to various embodiments,the relay data may further include a current location (e.g., locationmeasured by a GPS) of the first vehicle 1210. According to variousembodiments, the relay message may include a V2X or a BSM.

The relay message transmitted by the first vehicle 1210 may betransmitted to the second vehicle 1220, and the second vehicle 1220 mayconfirm the message received from the first vehicle 1210 and determinewhether a relay condition is satisfied. For example, the second vehicle1220 may calculate a relative distance from location information of thefirst vehicle 1210 and location information of the second vehicle 1220,and may determine whether the calculated distance satisfies within therelay condition (or relay transmission condition) (e.g., 5 km).

For example, since a distance between the second vehicle 1220 and thefirst vehicle 1210 is 300 m and is within the relay condition of 5 km,the received message may be retransmitted.

In the same manner as described above, the relay message may be relayedand transmitted to the third vehicle 1230 and the fourth vehicle 1240via the second vehicle 1220.

According to various embodiments, the fourth vehicle 1240 may calculatea relative distance from the location information of the first vehicle1210 and location information of the fourth vehicle 1240, and whetherthe calculated distance satisfies within the relay condition (or relaytransmission condition) (e.g., 5 km) may be determined. For example,when a distance between the fourth vehicle 1240 and the first vehicle1210 exceeds the relay condition of 5 km, the received relay message maynot be retransmitted due to life time extinction.

According to various embodiments, as illustrated in FIG. 12, the BSM maybe immediately transmitted by including locality-based information suchas accident occurrence, emergency vehicle dispatch, weather information,sinkholes, and the like in the relay data. As described above, whethereach piece of relay data is retransmitted may be determined by a lifetime defined according to the types, and therefore each piece of relaydata may be destroyed when the life time expires.

FIG. 13 is a diagram illustrating an example of a situation where arelay message is transmitted to an external vehicle according to variousembodiments. Referring to FIG. 13, according to various embodiments,when vehicle congestion information is determined based on a pluralityof BSMs received from a plurality of pieces of vehicle information, arelay message may be transmitted by including a reference setting valuefor a direction and a distance and data information in relay data. Forexample, each vehicle may calculate its own vehicle direction/distanceand may transmit the received relay message (e.g., BSM) only when acorresponding condition is satisfied.

According to various embodiments, a first vehicle 1320 may receive theBSM from a plurality of vehicles 1310 a, 1310 b, 1310 c, and 1310 d,which are traveling ahead of the first vehicle 1320, through acommunication circuit while the first vehicle 1320 is traveling on aroad. The first vehicle 1320 may determine vehicle congestioninformation from information included in the BSM.

The first vehicle 1320 may determine whether the vehicle congestioninformation included in the BSM satisfies a predetermined relay messagegeneration condition (or a relay message transmission condition).

When the vehicle congestion information satisfies the relay messagegeneration condition based on the determination result, the firstvehicle 1320 may generate a relay message, including the vehiclecongestion information. The first vehicle 1320 may transmit thegenerated relay message to an external vehicle. According to variousembodiments, the relay message may further include distance anddirection (e.g., up or down) information (e.g., “down by a distance of1.3 km”), relay message content (e.g., congestion), and a value field(500 m northeast) as a relay condition.

The relay message transmitted by the first vehicle 1320 may becontinuously relayed and transmitted to the second vehicle 1330 and thethird vehicle 1340 which are traveling in the same direction (e.g., downdirection) as that of the first vehicle 1320. According to variousembodiments, the second vehicle 1330 may receive the relay message fromthe first vehicle 1320, may confirm relay condition information includedin the relay message, and may retransmit the received relay messagebecause the relay transmission condition is satisfied. According tovarious embodiments, the second vehicle 1330 may update and retransmitrelay-related information included in the relay message received fromthe first vehicle 1320, when the relay message is retransmitted.

According to various embodiments, the third vehicle 1340 may receive therelay message from the second vehicle 1330, may confirm the relaycondition information included in the relay message, and may stop theretransmission of the received relay message when the relay transmissioncondition is not satisfied. According to various embodiments, the relaymessage transmitted by the first vehicle 1320 may be also transmitted toat least one vehicle 1350 a, 1350 b, 1350 c, 1350 d, 1350 e, 1350 fwhich is traveling in a direction (e.g., up direction) opposite thedirection of the first vehicle 1320. The at least one vehicle 1350 a to1350 f which is traveling in the direction (e.g., up direction) oppositethe direction of the first vehicle 1320 may confirm directioninformation included in the received relay message, and may determinethat the relay condition is not satisfied because the at least onevehicle 1350 a to 1350 f is traveling in the direction opposite thedirection of the first vehicle 1320. Based on the determination result,the at least one vehicle 1350 a to 1350 f which is traveling in thedirection (e.g., up direction) opposite the direction of the firstvehicle 1320 may not retransmit the received relay message. According tovarious embodiments, the at least one vehicle 1350 a to 1350 f which istraveling in the direction (e.g., up direction) opposite the directionof the first vehicle 1320 may control to display or not to displayinformation associated with the received relay message through a displayor the like.

FIG. 14 is a diagram illustrating an example of a situation where arelay message is transmitted to an external vehicle according to variousembodiments. Referring to FIG. 14, when an accident occurs while thefirst vehicle 1410 is traveling on a road, an accident state may bedetermined through at least one sensor. The first vehicle 1410 maydetermine that the determined accident state is a dangerous situationand may determine whether the relay message generation condition (orrelay message transmission condition) is satisfied.

When the relay message generation condition is satisfied based on thedetermination result, the first vehicle 1410 may generate a relaymessage, including the accident-related information. The first vehicle1410 may transmit the generated relay message to an external vehicle.

As illustrated in FIG. 14, a plurality of vehicles 1421, 1422, and 1423located within a BSM reach range of an accident vehicle maysimultaneously receive the relay message transmitted by the firstvehicle 1410.

When the plurality of vehicles (the second vehicle 1421, the thirdvehicle 1422, and the fourth vehicle 1423) simultaneously receive therelay message and simultaneously retransmit the received relay message,the number of messages to be transmitted may be increased so that a casein which congestion of a wireless channel is unnecessarily increased mayoccur.

According to various embodiments, in order to solve this problem, amessage may be relayed and transmitted by applying a retransmissionmethod using a random transmission time or a BSM coverage-basedretransmission method.

According to the retransmission method using the random transmissiontime, vehicles having received the relay message having a specificsignal strength or less may respectively set the random transmissiontime to wait for transmission. When a vehicle with the highest randomtransmission time transmits the corresponding message, other vehiclesmay stop message transmission.

For example, as illustrated in FIG. 14, the plurality of vehicles 1421,1422, and 1423 located within the BSM reach range of the accidentvehicle may simultaneously receive the relay message received by thefirst vehicle 1410, and each of the plurality of vehicles may randomlyset a transmission time for message retransmission. Assuming that thetransmission time of the second vehicle 1421 among the plurality ofvehicles is the fastest, when the second vehicle 1421 retransmits therelay message, the third vehicle 1422 and the fourth vehicle 1423located in the vicinity of the second vehicle 1421 may receive thecorresponding relay message. The third vehicle 1422 and the fourthvehicle 1423 located in the vicinity of the second vehicle 1421 maydetect that the received relay message has already been retransmitted byanother neighboring vehicle (second vehicle 1421) to stop the messageretransmission desired to be performed, and thereby only the secondvehicle 1421 may retransmit the relay message. A fifth vehicle 1430 mayreceive the relay message transmitted by the second vehicle 1421.

According to various embodiments, according to the BSM coverage-basedretransmission method, a vehicle (e.g., the third vehicle 1422 in FIG.14) located farthest within the BSM reach range may retransmit the relaymessage.

FIG. 15 is a diagram illustrating an example of a situation where arelay message is transmitted to an external vehicle according to variousembodiments. Referring to FIG. 15, according to various embodiments, afirst vehicle 1510 (e.g., an ambulance) may transmit a relay message toa plurality of vehicles 1520, 1530, and 1540, which are traveling aheadof the first vehicle 1510, using the above-described method while thefirst vehicle 1510 is traveling on a road.

For example, in order to notify that the first vehicle 1510 is anemergency vehicle, the first vehicle 1510 may configure and transmit therelay message to include relay data of which relay condition is set as adistance of 2 km, direction is set as an up direction, and content isset as ‘emergency notification’. According to various embodiments, therelay data may further include a current location (e.g., locationmeasured by a GPS) (emergency vehicle GPS) of the first vehicle 1510.According to various embodiments, the relay message may include a V2X ora BSM.

The relay message transmitted by the first vehicle 1510 may betransmitted to the second vehicle 1520, the third vehicle 1530, and thefourth vehicle 1540, and the second vehicle 1520 may confirm a messagereceived from the first vehicle 1510 and determine whether a relaycondition is satisfied. For example, the second vehicle 1520 maycalculate a relative distance from location information of the firstvehicle 1510 and location information of the second vehicle 1520, andmay determine whether the calculated distance satisfies within the relaycondition (or relay transmission condition) (e.g., 2 km). In addition,whether a traveling direction of the second vehicle 1520 is an updirection according to the relay condition may be further determined.

For example, since a distance between the second vehicle 1520 and thefirst vehicle 1510 is within the relay condition of 2 km and thetraveling direction is the up direction, the received message may beretransmitted.

In the same manner as described above, the relay message may be relayedand transmitted to the third vehicle 1530 via the second vehicle 1520.

According to various embodiments, a fifth vehicle 1550 and a sixthvehicle 1560 may calculate a relative distance from the locationinformation of the first vehicle 1510 and location information ofvehicles 1550 and 1560, and may determine whether the calculateddistance satisfies within the relay condition (or relay transmissioncondition) (e.g., 2 km). For example, the distance between the fifthvehicle 1550 or the sixth vehicle 1560 and the first vehicle 1510 iswithin the relay condition of 2 km, but the condition for the travelingdirection is not satisfied as shown in FIG. 15, and thereby the relaymessage may not be retransmitted.

FIG. 16 is a block diagram 1600 illustrating a program 1640 according tovarious embodiments. According to an embodiment, the program 1640 mayinclude an operating system (OS) 1642 for controlling one or moreresources of the electronic device 101, middleware 1644, and/or anapplication 1646 that can be executed on the OS 1642. The OS 1642 mayinclude, for example, Android™, iOS™, Windows™, Symbian™, Tizen™, orBada™. At least some of the programs 1640 may be preloaded to theelectronic device 101 at the time of manufacture, or may be downloadedor updated from an external electronic device (e.g., the electronicdevice 102 or 104, or the server 108) in a use environment of a user.

The OS 1642 may control (e.g., allocate or recover) system resources(e.g., processes, memory, or power) of the electronic device 101. The OS1642 may additionally or alternatively include other hardware devices ofthe electronic device 101, for example, one or more driver programs fordriving an input device 150, an audio output device 155, a displaydevice 160, an audio module 170, a sensor module 176, an interface 177,a haptic module 179, a camera module 180, a power management module 188,a battery 189, a communication module 190, a subscriber identificationmodule 196, or an antenna module 197.

The middleware 1644 may provide various functions to the application1646 so that the application 1646 can use functions or informationprovided by the one or more resources of the electronic device 101. Themiddleware 1644 may include, for example, an application manager 1601, awindow manager 1603, a multimedia manager 1605, a resource manager 1607,a power manager 1609, a database manager 1611, a package manager 1613, aconnectivity manager 1615, a notification manager 1617, a locationmanager 1619, a graphic manager 1621, a security manager 1623, atelephony manager 1625, and/or a voice recognition manager 1627. Theapplication manager 1601 may manage, for example, the life cycle of theapplication 1646. The window manager 1603 may manage, for example, GUIresources used in a screen. The multimedia manager 1605 may identify aformat required for reproduction of media files and may encode or decodea media file using a codec suitable for the format. The resource manager1607 may manage, for example, a source code of the application 1646 or aspace of the memory. The power manager 1609 may manage, for example, thecapacity, temperature, or power of the battery and may determine orprovide power information necessary for the operation of the electronicdevice 101 by using the information. According to an embodiment, thepower manager 1609 may be interlocked with a basic input/output system(BIOS).

The database manager 1611 may create, retrieve, or change a database tobe used in the application 1646. The package manager 1613 may manageinstallation or update of an application distributed in the form of apackage file. The connectivity manager 1615 may manage a wireless orwired connection between the electronic device 101 and an externalelectronic device. The notification manager 1617 may provide a functionfor notifying a user of an event (e.g., a call, a message, or an alarm)that has occurred. The location manager 1619 may manage locationinformation of the electronic device 101. The graphical manager 1621 maymanage, for example, graphical effects to be provided to a user or auser interface associated therewith. The security manager 1623 mayprovide, for example, system security or user authentication. Thetelephony manager 1625 may manage, for example, a voice or video callfunction of the electronic device 101. The voice recognition manager1627 may transmit, for example, voice data of a user to the server 108and may receive character data converted based on a command orcorresponding voice data corresponding to a function to be performed inthe electronic device 101. According to an embodiment, the middleware1644 may dynamically delete some existing components or add newcomponents. According to an embodiment, at least a portion of themiddleware 1644 may be included as a portion of the OS 1642, or may beimplemented in software separate from the OS 1642.

The application 1646 may include, for example, a home application 1651,a dialer application 1653, an SMS/MMS application 1655, an instantmessage (IM) application 1657, a browser application 1659, a cameraapplication 1661, an alarm application 1663, a contact application 1665,a voice recognition application 1667, an email application 1669, acalendar application 1671, a media player application 1673, an albumapplication 1675, a clock application 1677, a health application 1679(e.g., measuring exercise or blood glucose), and/or an environmentalinformation application 1681 (e.g., air pressure, humidity, ortemperature information). According to an embodiment, the application1646 may further include an information exchange application (not shown)that can support exchange of information between the electronic device101 and an external electronic device. The information exchangeapplication may include, for example, a notification relay applicationfor transmitting designated information (e.g., calls, messages, oralarms) to an external electronic device, or a device managementapplication for managing an external electronic device. The notificationrelay application may transmit notification information corresponding toan event (e.g., mail reception) generated in another application (e.g.,an email application 1669) of the electronic device 101 to an externalelectronic device, or may receive the notification information from theexternal electronic device to provide the received information to a userof the electronic device 101. The device management application maycontrol an external electronic device communicating with the electronicdevice 101 or some components thereof (e.g., power (e.g., turn-on orturn-off) or function (e.g., brightness, resolution, or focus) of thedisplay device 160 or the camera module 180) of the display device 160or the camera module 180). The device management application mayadditionally or alternatively support the installation, deletion, orupdate of an application operated on an external electronic device.

The electronic device according to the various embodiments disclosedherein may be various types of devices. The electronic device mayinclude, for example, and without limitation, at least one of a portablecommunication device (e.g., a smart phone), a computer device, aportable multimedia device, a portable medical device, a camera, awearable device, and/or a home appliance, or the like. The electronicdevice according to the embodiment of the present document is notlimited to the above-described devices.

The embodiments and the terms used therein are not intended to limit thetechnology disclosed herein to specific forms, and should be understoodto include various modifications, equivalents, and/or alternatives tothe corresponding embodiments. In describing the drawings, similarreference numerals may be used to designate similar elements. A singularexpression may include a plural expression unless they are definitelydifferent in a context. The terms “A or B”, “one or more of A and/or B”,“A, B, or C”, or “one or more of A, B and/or C” may include all possiblecombinations of them. The expression “a first”, “a second”, “the first”,or “the second” used in various embodiments may be used to refer tovarious components regardless of the order and/or the importance butdoes not limit the corresponding components. When an element (e.g.,first element) is referred to as being “(functionally orcommunicatively) connected,” or “directly coupled” to another element(second element), the element may be connected directly to the anotherelement or connected to the another element through yet another element(e.g., third element).

The term “module” as used herein may include a unit including hardware,software, and/or firmware, or any combinations thereof, and may, forexample, be used interchangeably with the term “logic”, “logical block”,“component”, “circuit”, or the like. The “module” may be an integratedcomponent, or a minimum unit for performing one or more functions or apart thereof. For example, a module may, for example, and withoutlimitation, included an Application-Specific Integrated Circuit (ASIC),or the like.

Various embodiments of the present disclosure may be implemented assoftware (e.g., program 1640) including instructions stored in anon-transitory machine (e.g., computer)-readable storage media (e.g.,internal memory 136 or external memory 138). The machine may be a devicethat calls the stored instructions from the storage media and isoperable according to the called instructions, and may include anelectronic device (e.g., the electronic device 101) according to thedisclosed embodiments. When the instruction is executed by a processor(e.g., the processor 120), the processor may perform the functioncorresponding to the instruction using other components directly orunder the control of the processor. The instruction may include a codethat is generated or executed by a compiler or interpreter. Themachine-readable storage media may be provided in the form ofnon-transitory storage media.

According to an embodiment, the method according to various embodimentsdisclosed herein may be included in a computer program product to beprovided. The computer program product may be traded between a sellerand a purchaser as a commodity. The computer program product may bedistributed in the form of a machine-readable storage medium (e.g.,compact disc read only memory (CD-ROM)) or distributed online through anapplication store (e.g., PlayStore™). In the case of on-linedistribution, at least a portion of the computer program product may beat least temporarily stored or temporarily created on a storage mediumsuch as a manufacturer's server, a server of an application store, or amemory of a relay server.

Each of the components (e.g., module or program) according to variousembodiments may include a single entity or a plurality of entities, andsome subcomponents of the previously mentioned subcomponents may beomitted, or other subcomponents may be further included in variousembodiments. Some components (e.g., modules or programs) may beintegrated into one entity to perform functions performed by thecorresponding component prior to integration in the same or similarmanner. Operations performed by a module, a programming module, or otherelements according to various embodiments may be executed sequentially,in parallel, repeatedly, or in a heuristic manner. At least someoperations may be executed according to another sequence, may beomitted, or may further include other operations.

The computer readable recoding medium may include a hard disk, a floppydisk, magnetic media (e.g., a magnetic tape), optical media (e.g., aCompact Disc Read Only Memory (CD-ROM) and a Digital Versatile Disc(DVD)), magneto-optical media (e.g., a floptical disk), a hardwaredevice (e.g., a Read Only Memory (ROM), a Random Access Memory (RAM), aflash memory), and the like. In addition, the program instructions mayinclude high class language codes, which can be executed in a computerby using an interpreter, as well as machine codes made by a compiler.The aforementioned hardware device may be configured to operate as oneor more software modules in order to perform the operation of thepresent disclosure, and vice versa.

The programming module according to the present disclosure may includeone or more of the aforementioned components or may further includeother additional components, or some of the aforementioned componentsmay be omitted. Operations executed by a module, a programming module,or other component elements according to various embodiments may beexecuted sequentially, in parallel, repeatedly, or in a heuristicmanner. Furthermore, some operations may be executed in a differentorder or may be omitted, or other operations may be added.

According to various embodiments, in the storage media storinginstructions, the instructions are set, when executed by at least oneprocessor, to cause the at least one processor to perform at least oneoperation, wherein the at least one operation include, in a method oftransmitting a relay message from an electronic device to an externalvehicle, determining a relay message generation condition associatedwith a vehicle based at least on data acquired from at least one sensoror at least one communication circuit; generating the relay messagebased at least on the data acquired from the at least one sensor or theat least one communication circuit, when the relay message generationcondition is satisfied based on the determination result; andtransmitting the generated relay message to the external vehicle throughthe at least one communication circuit.

As described above, in a method of transmitting a message associatedwith a vehicle from an electronic device transmits to an externalvehicle according to various embodiments and an electronic devicethereof, it is possible to generate a relayable vehicle-related messagein each vehicle and transmit the generated relayable message to anexternal vehicle, thereby efficiently transmitting the vehicle-relatedmessage to a remote vehicle.

The embodiments disclosed in the specification and the drawings are onlyillustrative examples proposed in order to easily describe the technicalmatters of the present disclosure and aid in comprehension of thepresent disclosure, and do not limit the scope of the presentdisclosure. Therefore, in addition to the embodiments disclosed herein,the scope of the various embodiments should be understood to include allmodifications or modified forms drawn based on the technical idea of thevarious embodiments.

What is claimed is:
 1. An electronic device comprising: at least onesensor; at least one communication circuit; and a processor electricallyconnected to the at least one sensor and/or the at least onecommunication circuit, wherein the processor is configured to: identifya relay message generation condition associated with a vehicle based atleast in part on data acquired from the at least one sensor and/or theat least one communication circuit, generate a relay message based atleast in part on the acquired data when the relay message generationcondition is satisfied, and transmit the generated relay message to anexternal vehicle through the at least one communication circuit.
 2. Theelectronic device of claim 1, wherein the data acquired from the atleast one sensor includes at least one of: information about at leastone external vehicle adjacent to the electronic device, informationabout an object loaded on the at least one external vehicle adjacent tothe electronic device, information about a state of a road on which theelectronic device is located, and information about weather in an areain which the electronic device is located.
 3. The electronic device ofclaim 2, wherein the at least one sensor includes an image sensorincluded in a camera module, and the data acquired from the at least onesensor includes state information of a road determined from datacollected through the image sensor.
 4. The electronic device of claim 1,wherein the data acquired from the at least one communication circuitincludes basic safety message (BSM) data transmitted from the at leastone external vehicle adjacent to the electronic device or personalsafety message (PSM) data transmitted from at least one externalelectronic device.
 5. The electronic device of claim 1, wherein therelay message includes at least one of: relay condition informationabout the relay message, message content information, and locationinformation of the electronic device.
 6. The electronic device of claim5, wherein the relay condition information includes at least one of: arelay frequency, a distance, a time, and a movement direction.
 7. Theelectronic device of claim 1, wherein the relay message is configuredusing a BSM of a society of automotive engineers (SAE) standard.
 8. Anelectronic device comprising: at least one communication circuit; and aprocessor electrically connected to the at least one communicationcircuit, wherein the processor is configured to: determine whether abasic safety message (BSM) is a relay message from information includedin the BSM received through the at least one communication circuit,determine whether a relay condition included in the BSM is satisfiedwhen the BSM is the relay message, generate the relay message based onthe received BSM when the relay condition is satisfied, and transmit thegenerated relay message to an external vehicle through the at least onecommunication circuit.
 9. The electronic device of claim 8, wherein theprocessor is configured to: determine whether the relay conditionincluded in the BSM is satisfied based at least on informationassociated with the electronic device, and update relay-relatedinformation included in the received BSM to generate the relay messagewhen the relay condition is satisfied.
 10. The electronic device ofclaim 9, wherein the processor is configured to display a notificationmessage on the display, to output a sound, and/or to control adesignated function of a vehicle, based on the relay-related informationincluded in the received BSM.
 11. The electronic device of claim 8,wherein the relay message transmitted to the external vehicle isconfigured using a BSM of an SAE standard.
 12. The electronic device ofclaim 8, wherein the relay condition includes at least one of: a relayfrequency, a distance, a time, and a movement direction.
 13. Theelectronic device of claim 8, wherein the processor is configured totransmit the generated relay message after a time randomly set by theelectronic device.
 14. A method of transmitting a relay message from anelectronic device to an external vehicle, the method comprising:determining a relay message generation condition associated with avehicle based at least on data acquired from at least one sensor and/orat least one communication circuit; generating a relay message based atleast on the data acquired from the at least one sensor and/or the atleast one communication circuit when the relay message generationcondition is satisfied based on the determination result; andtransmitting the generated relay message to the external vehicle throughthe at least one communication circuit.
 15. The method of claim 14,wherein the data acquired from the at least one sensor includes at leastone of: information about at least one external vehicle adjacent to theelectronic device, information about an object loaded on the at leastone external vehicle adjacent to the electronic device, informationabout a state of a road on which the electronic device is located, andinformation about weather in an area in which the electronic device islocated.
 16. The method of claim 15, wherein the data acquired from theat least one sensor includes state information of a road determined fromdata collected through an image sensor included in a camera module. 17.The method of claim 14, wherein the data acquired from the at least onecommunication circuit includes BSM data transmitted from the at leastone external vehicle adjacent to the electronic device or PSM datatransmitted from at least one external electronic device.
 18. The methodof claim 14, wherein the relay message includes at least one of: relaycondition information about the relay message, message contentinformation, and location information of the electronic device.
 19. Themethod of claim 18, wherein the relay condition information includes atleast one of: a relay frequency, a distance, a time, and a movementdirection.
 20. The method of claim 14, wherein the relay message isconfigured using a BSM of an SAE standard.